<?php echo $this->doctype() ?><?php echo "\r\n"; ?>
<html xmlns="http://www.w3.org/1999/xhtml">
    <head profile="http://gmpg.org/xfn/11">
        <?php echo $this->headMeta() ?><?php echo "\r\n"; ?>
        <?php echo $this->headTitle() ?><?php echo "\r\n"; ?>
        <?php echo $this->headLink(); ?><?php echo "\r\n"; ?>
        <?php echo $this->headScript(); ?><?php echo "\r\n"; ?>
    </head>

    <body>
        <div id="container">
            <div id="container-inner">
                <div id="header">
                    <div id="title"><h1><a href="/index.html"><?php echo $this->escape($this->siteName) ?></a></h1></div>
                    <div id="subtitle"><?php echo $this->escape($this->siteSubName) ?></div>
                    <div id="navigation">
                        <ul>
                            <li><a href="/index.html">日志</a></li>
                            <?php if(null !== $this->pageSideBar()) : ?>
                                <?php foreach ($this->pageSideBar() as $page) : ?>
                            <li><a href="/preview/<?php echo $this->escape($page->pageId) ?>.html"><?php echo $this->escape($page->pageTitle) ?></a></li>
                                <?php endforeach; ?>
                            <?php endif; ?>
                        </ul>
                    </div>
                </div>
                <div id="main">